]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
15 years agoadd ability to search in web from search view
Maxim Ermilov [Mon, 17 Jan 2011 21:38:47 +0000 (00:38 +0300)]
add ability to search in web from search view

It use OpenSearch to define the search engines.
https://bugzilla.gnome.org/show_bug.cgi?id=623708

15 years agorunDialog: use fileUtils.listDirAsync in CommandCompleter
Maxim Ermilov [Mon, 17 Jan 2011 21:30:12 +0000 (00:30 +0300)]
runDialog: use fileUtils.listDirAsync in CommandCompleter

https://bugzilla.gnome.org/show_bug.cgi?id=623708

15 years agoplaces: Do not use nautilus' 'desktop-is-home-dir' setting
Florian Müllner [Mon, 17 Jan 2011 19:52:26 +0000 (20:52 +0100)]
places: Do not use nautilus' 'desktop-is-home-dir' setting

g_settings_schema_new() aborts if the requested schema is not found,
so the previous approach of handling the case of unstable nautilus
not being installed did not work.
Instead, remove the use of the setting altogether - the original intent
was to not have separate items for Desktop and Home in the places
section if the nautilus key was set. As the section has been removed
anyway, the impact of always adding the desktop folder is minimal
(e.g. searching for "desktop" will match the desktop folder even
if it's set to the home folder).

15 years agoBluetoothStatus: add a separator above Settings menu entry
Luca Ferretti [Mon, 17 Jan 2011 20:02:03 +0000 (21:02 +0100)]
BluetoothStatus: add a separator above Settings menu entry

Close bug #639704

15 years agoplaces: Fail gracefully when not using unstable nautilus
Florian Müllner [Sun, 16 Jan 2011 19:21:10 +0000 (20:21 +0100)]
places: Fail gracefully when not using unstable nautilus

The latest development version of nautilus has been ported to
GSettings, which we now use as well for the desktop-is-home-dir
preference. Obviously, the required schema is only available if
a recent enough nautilus version is installed. Instead of adding
yet another module to the moduleset, catch the exception and
ignore the preference in case the schema is not available.

https://bugzilla.gnome.org/show_bug.cgi?id=639689

15 years agoplaces: Port to GSettings
Florian Müllner [Sun, 16 Jan 2011 19:18:09 +0000 (20:18 +0100)]
places: Port to GSettings

'Places' follows the nautilus preference of whether the Desktop
should be a separate directory or the home folder should be used.
Nautilus has been ported to GSettings a while ago, so follow suit.

https://bugzilla.gnome.org/show_bug.cgi?id=639689

15 years agoplaces: Remove obsolete code
Florian Müllner [Sun, 16 Jan 2011 19:05:10 +0000 (20:05 +0100)]
places: Remove obsolete code

The dash no longer contains a places section, so remove the now
unused code.

https://bugzilla.gnome.org/show_bug.cgi?id=639689

15 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Jan 2011 20:28:21 +0000 (21:28 +0100)]
Updated Spanish translation

15 years agoaltTab: Query the correct monitor's size
Adel Gadllah [Sun, 16 Jan 2011 12:34:31 +0000 (13:34 +0100)]
altTab: Query the correct monitor's size

We always display the appSwitcher on the primary monitor,
so always query for its size rather than that of the focused
one.

15 years agoUpdated Galician translations
Fran Diéguez [Sun, 16 Jan 2011 16:09:09 +0000 (17:09 +0100)]
Updated Galician translations

15 years agoupdate for translation
A S Alam [Sun, 16 Jan 2011 05:38:08 +0000 (11:08 +0530)]
update for translation

15 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sun, 16 Jan 2011 08:20:20 +0000 (10:20 +0200)]
[l10n] Updated Estonian translation

15 years ago[Build] Bump vala to 0.11.4
Adel Gadllah [Sat, 15 Jan 2011 20:57:31 +0000 (21:57 +0100)]
[Build] Bump vala to 0.11.4

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 15 Jan 2011 11:44:30 +0000 (12:44 +0100)]
Updated Norwegian bokmål translation

15 years agoUpdated Greek translation
Kostas Papadimas [Sat, 15 Jan 2011 09:51:02 +0000 (11:51 +0200)]
Updated Greek translation

15 years ago[l10n] updated Italian translation
Luca Ferretti [Sat, 15 Jan 2011 00:22:47 +0000 (01:22 +0100)]
[l10n] updated Italian translation

15 years agokbd-status: s/Preferences/Settings in menu entry
Luca Ferretti [Sat, 15 Jan 2011 00:04:06 +0000 (01:04 +0100)]
kbd-status: s/Preferences/Settings in menu entry

In order to match similar menu entries from other menus.

15 years ago[l10n] updates POTFILES.in
Luca Ferretti [Fri, 14 Jan 2011 23:59:43 +0000 (00:59 +0100)]
[l10n] updates POTFILES.in

15 years agogenericDisplay: Remove unused module
Florian Müllner [Fri, 14 Jan 2011 21:15:53 +0000 (22:15 +0100)]
genericDisplay: Remove unused module

GenericDisplay used to provide a common base class for places and
recent items, none of which exists anymore. As of current mockups,
display items in "Finding and Reminding" should be based on
BaseIcon / IconGrid instead.

15 years agodoc-display: Remove UI of the old dash display
Florian Müllner [Fri, 14 Jan 2011 21:08:03 +0000 (22:08 +0100)]
doc-display: Remove UI of the old dash display

Currently recent items only show up in search results. It is planned
to bring them back in the context of "Finding and Reminding", but
the UI in the corresponding mockups differs significantly from the
removed UI, so that it doesn't seem useful to keep it around.

15 years agocss: Remove places and recent items
Adel Gadllah [Fri, 14 Jan 2011 20:58:24 +0000 (21:58 +0100)]
css: Remove places and recent items

They no longer exist so they should be removed from css as well.

15 years agoDash: Remove unused properties
Adel Gadllah [Fri, 14 Jan 2011 20:22:18 +0000 (21:22 +0100)]
Dash: Remove unused properties

15 years agoUpdated Galician translations
Fran Diéguez [Fri, 14 Jan 2011 15:33:17 +0000 (16:33 +0100)]
Updated Galician translations

15 years agokbd-status: Close the menu when switching layouts
Florian Müllner [Thu, 13 Jan 2011 22:32:20 +0000 (23:32 +0100)]
kbd-status: Close the menu when switching layouts

Layout items in the menu overwrite PopupBaseMenuItem.activate(),
so the menu stays open when selecting a layout from the menu.
Chain up to the parent class' method to make the items behave properly.

https://bugzilla.gnome.org/show_bug.cgi?id=639474

15 years agoendSessionDialog: Add logout/shutdown dialog
Ray Strode [Thu, 6 Jan 2011 15:30:15 +0000 (10:30 -0500)]
endSessionDialog: Add logout/shutdown dialog

This commit adds a dialog for gnome-session to
privately use when initiating log outs and shut
downs.

Coordination is done over the bus.

https://bugzilla.gnome.org/show_bug.cgi?id=637187

15 years agorunDialog: animate to new height on error
Ray Strode [Mon, 6 Dec 2010 19:41:45 +0000 (14:41 -0500)]
runDialog: animate to new height on error

When an error message is displayed the run dialog
pops to the new height instantly.  It needs a
a transition.

This commit makes the dialog quickly grow to its
ultimate height, making room for the error message,
before showing it.

https://bugzilla.gnome.org/show_bug.cgi?id=637187

15 years agorunDialog: subclass from modalDialog
Ray Strode [Mon, 6 Dec 2010 19:41:06 +0000 (14:41 -0500)]
runDialog: subclass from modalDialog

Now that we have a modalDialog base class in gnome-shell,
it makes sense to use it for the run dialog.

Note, the run dialog doesn't currently have buttons, so
it isn't exercising all the API of the base class.

https://bugzilla.gnome.org/show_bug.cgi?id=637187

15 years agomodalDialog: Add modal dialog base class
Ray Strode [Thu, 21 Oct 2010 00:46:38 +0000 (20:46 -0400)]
modalDialog: Add modal dialog base class

This is a base class to make it easier to
gain a consistent look for system modal dialogs.

It handles creating a darkened backdrop behind the dialog, setting
up buttons in the dialog, keynav, etc.

https://bugzilla.gnome.org/show_bug.cgi?id=637187

15 years agomain: add timestamp parameter to push/popModal
Ray Strode [Wed, 20 Oct 2010 19:08:14 +0000 (15:08 -0400)]
main: add timestamp parameter to push/popModal

Right now popModal() passes global.get_current_time() for
its begin_modal() call.  global.get_current_time() is the
timestamp of the last gdk or clutter event processed by the
shell's mutter process.  These values could potentially be
be too stale to use if pushModal() were to get called in
response to an event by another process.

This commit changes pushModal() to have an optional timestamp
argument, which can be used to associate the call with the
event that initiated it.

https://bugzilla.gnome.org/show_bug.cgi?id=637187

15 years agogeneric-container: Queue a redraw in skip_paint()
Florian Müllner [Thu, 13 Jan 2011 22:48:51 +0000 (23:48 +0100)]
generic-container: Queue a redraw in skip_paint()

When changing a child's visibility with skip_paint(), the change
will not be visible until a redraw is triggered. Queue a redraw,
so that the function has an immediate effect.

https://bugzilla.gnome.org/show_bug.cgi?id=639461

15 years agoRevert "kbd-status: Close the menu when switching layouts"
Florian Müllner [Fri, 14 Jan 2011 00:05:23 +0000 (01:05 +0100)]
Revert "kbd-status: Close the menu when switching layouts"

This reverts commit e0f58c615b40bb4f2befa7a1f8278ede947cfb98.

Pushed accidentally.

15 years agokbd-status: Close the menu when switching layouts
Florian Müllner [Thu, 13 Jan 2011 22:32:20 +0000 (23:32 +0100)]
kbd-status: Close the menu when switching layouts

Layout items in the menu overwrite PopupBaseMenuItem.activate(),
so the menu stays open when selecting a layout from the menu.
Chain up to the parent class' method to make the items behave properly.

https://bugzilla.gnome.org/show_bug.cgi?id=639474

15 years agoRemove _onKeyPress() function in Notification
Marina Zhurakhinskaya [Thu, 13 Jan 2011 23:33:01 +0000 (18:33 -0500)]
Remove _onKeyPress() function in Notification

Its usage was removed in commit 4dd4c9f99f528667eb0b571a71ed23f61919f44b -
"Use more actor.grab_key_focus() and less stage.connect('key-press-event')".

15 years agoLookingGlass: fix a Clutter warning
Giovanni Campagna [Tue, 11 Jan 2011 20:14:16 +0000 (21:14 +0100)]
LookingGlass: fix a Clutter warning

After destroying an actor, it is no more parented anywhere, so we
cannot allocate it.

https://bugzilla.gnome.org/show_bug.cgi?id=633028

15 years agoRequire gjs 0.7.8
Colin Walters [Thu, 13 Jan 2011 21:37:50 +0000 (16:37 -0500)]
Require gjs 0.7.8

We use the js-version property, among other things.

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Thu, 13 Jan 2011 21:23:16 +0000 (23:23 +0200)]
Updated Hebrew translation.

15 years agoapp-display: Expose BaseIcon params in AppWellIcon
Florian Müllner [Thu, 13 Jan 2011 15:02:55 +0000 (16:02 +0100)]
app-display: Expose BaseIcon params in AppWellIcon

AppWellIcon is used both in the dash and view selector. As the dash
requires manual sizing, it is not possible to set the icon size used
in the view selector in the CSS, but icons will use the default size
(unless set manually as in the dash).

Expose the params parameter of BaseIcon and enable manual resizing
only for AppWellIcons in the dash.

https://bugzilla.gnome.org/show_bug.cgi?id=639428

15 years agoShellApp: is_on_workspace() should be TRUE for workspaceless apps
Dan Winship [Fri, 17 Dec 2010 20:01:19 +0000 (15:01 -0500)]
ShellApp: is_on_workspace() should be TRUE for workspaceless apps

If a starting-up app has not requested a particular workspace, then
shell_app_is_on_workspace() should return TRUE for any workspace.

Otherwise we will never get startup notification for them, since the
app menu only shows apps that are starting on the current workspace.

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agoshell-app-system.h: clean up (indentation, order, etc)
Dan Winship [Fri, 17 Dec 2010 13:11:11 +0000 (08:11 -0500)]
shell-app-system.h: clean up (indentation, order, etc)

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agoshell: remove ShellProcess
Dan Winship [Wed, 17 Nov 2010 16:43:08 +0000 (11:43 -0500)]
shell: remove ShellProcess

ShellProcess only existed to work around gjs bugs that have long since
been fixed, and has now been obsoleted by Util.spawn*. Kill it.

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agoUtil.killall: add utility for killing unwanted processes
Dan Winship [Fri, 17 Dec 2010 20:30:12 +0000 (15:30 -0500)]
Util.killall: add utility for killing unwanted processes

Since we have to use pkill, kludgily, for the right combination of
portability and featurefulness, put the code in one place rather than
duplicating it everywhere.

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agoutil: add Util.spawn and friends
Dan Winship [Wed, 17 Nov 2010 16:43:08 +0000 (11:43 -0500)]
util: add Util.spawn and friends

Add Util.spawn, Util.spawnCommandLine, and Util.spawnDesktop for
spawning a command/argv/.desktop file in the background, automatically
handling errors via MessageTray.SystemNotificationSource(), and
Util.trySpawn, Util.trySpawnCommandLine, and Utils.trySpawnDesktop
that don't do automatic error handling (but do at least clean up the
error message in the exception a bit).

Update various other bits of code around the shell to use the new
methods.

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agoutil: rename from utils, avoid RegExp literal
Dan Winship [Tue, 30 Nov 2010 16:16:10 +0000 (11:16 -0500)]
util: rename from utils, avoid RegExp literal

Rename imports.misc.utils to imports.misc.util for more consistency
(eg, with shell-util).

Also, use the string-based RegExp() constructor rather than a RegExp
literal, since the literal is extremely difficult to parse correctly,
and confuses emacs and probably other editors and thus messes up
autoindentation, etc.

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agomessageTray: add SystemNotificationSource, moved from overview.js
Dan Winship [Tue, 30 Nov 2010 15:47:28 +0000 (10:47 -0500)]
messageTray: add SystemNotificationSource, moved from overview.js

Move the overview's "System Information" source here, so it can be
used by non-overview code as well.

https://bugzilla.gnome.org/show_bug.cgi?id=635089

15 years agoInstall a GDK event handler to catch events queued by IBus
Owen W. Taylor [Fri, 10 Sep 2010 22:07:17 +0000 (18:07 -0400)]
Install a GDK event handler to catch events queued by IBus

With IBus, key events sometimes get sent to the server than
redelivered via gdk_event_put(). Since we expect all key events to
be delivered via the GDK event filter Mutter installs, this results
in key input not working.

To fix this, install an event handler with gdk_event_handler_set()
to intercept events being set from GDK to GTK+, pull out the
key events and send them back to Clutter.

Partially based on a patch by Daiki Ueno

https://bugzilla.gnome.org/show_bug.cgi?id=621659

15 years agoRequire the latest g-i
Colin Walters [Wed, 12 Jan 2011 21:29:23 +0000 (16:29 -0500)]
Require the latest g-i

Necessary for correct handling of (out caller-allocates) among
other things.

15 years agoExtensionSystem: introduce versioning
Giovanni Campagna [Tue, 11 Jan 2011 21:42:34 +0000 (22:42 +0100)]
ExtensionSystem: introduce versioning

Require that all extensions have a "shell-version" property in their
metadata, which is an array of supported Shell versions.
Extensions can target a specific version triple or an entire stable
version.
Optionally, they can also require a specific GJS version, to ensure
compatibility.

https://bugzilla.gnome.org/show_bug.cgi?id=639255

15 years agoPropagate version to Javascript files
Giovanni Campagna [Tue, 11 Jan 2011 21:34:09 +0000 (22:34 +0100)]
Propagate version to Javascript files

Add an entry in config.js.in for PACKAGE_VERSION and GJS_VERSION,
to be used by the notification daemon and in the future by the
extension system.

https://bugzilla.gnome.org/show_bug.cgi?id=639255

15 years agoStatus Area: add keyboard layout selector
Giovanni Campagna [Tue, 4 Jan 2011 22:04:56 +0000 (23:04 +0100)]
Status Area: add keyboard layout selector

Add an indicator for the current keyboard layout, based on
libgnomekbd. The indicator is shown when more than one group
is loaded in X and it is not disabled in GSettings.

https://bugzilla.gnome.org/show_bug.cgi?id=600771

15 years agoUpdated Arabic translation
Khaled Hosny [Wed, 12 Jan 2011 09:29:54 +0000 (11:29 +0200)]
Updated Arabic translation

15 years agoshell: disable libgnome-bluetooth debug spew
Dan Winship [Tue, 11 Jan 2011 17:27:10 +0000 (12:27 -0500)]
shell: disable libgnome-bluetooth debug spew

Centralize all the debug-spew-disabling here, and add
libgnome-bluetooth to the list.

https://bugzilla.gnome.org/show_bug.cgi?id=639236

15 years agoBump version to 2.91.5
Owen W. Taylor [Tue, 11 Jan 2011 23:13:36 +0000 (18:13 -0500)]
Bump version to 2.91.5

15 years agognome-shell-build-setup.sh: Add libgtop
Owen W. Taylor [Tue, 11 Jan 2011 23:10:08 +0000 (18:10 -0500)]
gnome-shell-build-setup.sh: Add libgtop

Add libgtop, a new build dependency for gnome-control-center.

15 years agoClean generated stamp-st.h
Owen W. Taylor [Tue, 11 Jan 2011 23:05:08 +0000 (18:05 -0500)]
Clean generated stamp-st.h

15 years agoNotifications with CRITICAL urgency are no longer timed out
Hellyna Ng [Tue, 11 Jan 2011 21:33:03 +0000 (05:33 +0800)]
Notifications with CRITICAL urgency are no longer timed out

Notifications with CRITICAL urgency should not pop down until the user interacts with them.

https://bugzilla.gnome.org/show_bug.cgi?id=630942

15 years agognome-shell.css: specify font size for overview view selector area
Dan Winship [Tue, 11 Jan 2011 14:14:32 +0000 (09:14 -0500)]
gnome-shell.css: specify font size for overview view selector area

Previously this was inheriting the default size, which is specified in
pts, and so would make the text larger than its 16px containing box if
you have high DPI.

https://bugzilla.gnome.org/show_bug.cgi?id=639213

15 years agomain: clean up handling of metacity keybindings during grabs
Dan Winship [Thu, 6 Jan 2011 20:30:24 +0000 (15:30 -0500)]
main: clean up handling of metacity keybindings during grabs

Although certain keys (like Ctrl-Alt-Tab and Alt-F2) should work in
the overview, we generally don't want them to work from inside each
others grabs. In particular, typing Left or Right from inside
Ctrl-Alt-Tab should navigate among focus groups, not switch
workspaces.

https://bugzilla.gnome.org/show_bug.cgi?id=636971

15 years agomain: allow Alt-F1 to exit the overview
Dan Winship [Thu, 6 Jan 2011 19:39:07 +0000 (14:39 -0500)]
main: allow Alt-F1 to exit the overview

Also, change _globalKeyPressHandler to handle KEY_PRESS, not
KEY_RELEASE, for consistency with other code (and so that the
combination of an Alt-F1 press and release doesn't first enter the
overview and then immediately exit it).

https://bugzilla.gnome.org/show_bug.cgi?id=636371

15 years agoShellGtkEmbed: revert to old actor/window position-syncing code
Dan Winship [Thu, 6 Jan 2011 22:07:51 +0000 (17:07 -0500)]
ShellGtkEmbed: revert to old actor/window position-syncing code

Synchronizing the actor and window position on paint resulted in lots
of syncing, and also resulted in the window mistakenly being left at
0,0 if the actor wasn't visible when the window first mapped.

Revert back to the old way of doing it, by tying into
clutter_actor_allocate, which was only failing before because of a bug
elsewhere.

https://bugzilla.gnome.org/show_bug.cgi?id=635695

15 years agomessageTray: use alignment rather than gravity to position the summary
Dan Winship [Fri, 7 Jan 2011 16:59:20 +0000 (11:59 -0500)]
messageTray: use alignment rather than gravity to position the summary

Actors in clutter are supposed to be re-allocated with
Clutter.AllocationFlags.ABSOLUTE_ORIGIN_CHANGED if they move relative
to the screen, even if they don't move relative to their parent.
Currently this does not work correctly for actors inside containers
with non-northwest gravity. This is probably a fixable bug, but
gravity has messed up other things in the past too, so let's just not
use it.

This change ensures that summary trayicons are re-allocated when the
summary animates, and is part of the fix for
https://bugzilla.gnome.org/show_bug.cgi?id=635695

15 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sun, 9 Jan 2011 18:38:25 +0000 (20:38 +0200)]
[l10n] Updated Estonian translation

15 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sun, 9 Jan 2011 16:51:03 +0000 (18:51 +0200)]
Updated Hebrew translation.

15 years agoFavorites: Refine default list
Adel Gadllah [Sat, 8 Jan 2011 12:03:45 +0000 (13:03 +0100)]
Favorites: Refine default list

Change the default list to:

Firefox, Evolution, Empathy, Rhythmbox, Shotwell, OOWriter, Nautilus

https://bugzilla.gnome.org/show_bug.cgi?id=638990

15 years agoTranslation: update Punjabi
A S Alam [Sat, 8 Jan 2011 02:55:16 +0000 (08:25 +0530)]
Translation: update Punjabi

15 years agoAdd an 'rt' command to the Run dialog to reload the theme
Federico Mena Quintero [Tue, 4 Jan 2011 19:34:54 +0000 (14:34 -0500)]
Add an 'rt' command to the Run dialog to reload the theme

This should be useful for theme authors who want to quickly reload
the theme without restarting the whole shell.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
https://bugzilla.gnome.org/show_bug.cgi?id=630428

15 years agoFactor out a function to load the default theme
Maxim Ermilov [Tue, 4 Jan 2011 19:30:03 +0000 (14:30 -0500)]
Factor out a function to load the default theme

We will use this function elsewhere when the theme needs to be reloaded.

https://bugzilla.gnome.org/show_bug.cgi?id=630428

15 years agonotificationDaemon: Fix trayIcon check
Adel Gadllah [Fri, 7 Jan 2011 15:22:28 +0000 (16:22 +0100)]
notificationDaemon: Fix trayIcon check

Correctly detect non tray icons and use the ShellApp's icon in that case.

15 years ago[l10n] Updated Estonian translation
Mattias Põldaru [Fri, 7 Jan 2011 11:34:46 +0000 (13:34 +0200)]
[l10n] Updated Estonian translation

15 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Fri, 7 Jan 2011 01:44:17 +0000 (09:44 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

15 years agoUpdated galician translations
Fran Diéguez [Thu, 6 Jan 2011 22:33:55 +0000 (23:33 +0100)]
Updated galician translations

15 years agoBluetoothStatus: fix typo
Giovanni Campagna [Thu, 6 Jan 2011 19:35:21 +0000 (20:35 +0100)]
BluetoothStatus: fix typo

The function to hide a menu item is .actor.hide(), not just .hide()

15 years agoBluetoothStatus: hide the icon when no adapter is present
Giovanni Campagna [Thu, 30 Dec 2010 14:34:42 +0000 (15:34 +0100)]
BluetoothStatus: hide the icon when no adapter is present

There is no point in showing the bluetooth status, when the required
hardware is missing. Just hide in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=638306

15 years agoPopupMenuManager: only navigate visible menus
Giovanni Campagna [Thu, 30 Dec 2010 14:22:54 +0000 (15:22 +0100)]
PopupMenuManager: only navigate visible menus

When doing keyboard navigation, ignore menus whose sourceActor is
hidden.
This is needed to hide status icons, as otherwise the menu would
appear despite having no icon.

https://bugzilla.gnome.org/show_bug.cgi?id=638306

15 years agoPopupMenu: fix addMenuItem with explicit position
Giovanni Campagna [Mon, 20 Dec 2010 18:10:43 +0000 (19:10 +0100)]
PopupMenu: fix addMenuItem with explicit position

Only real menu items should be considered, fix this using the new
API in StBoxLayout.

https://bugzilla.gnome.org/show_bug.cgi?id=637681

15 years agoStBoxLayout: add insert_before
Giovanni Campagna [Mon, 20 Dec 2010 18:06:54 +0000 (19:06 +0100)]
StBoxLayout: add insert_before

Add st_container_move_before internal API, and
st_box_layout_insert_before, that inserts an actor before another
in the container.

https://bugzilla.gnome.org/show_bug.cgi?id=637681

15 years agoBluetoothStatus: hide the device separator if no devices are shown
Giovanni Campagna [Tue, 21 Dec 2010 14:53:28 +0000 (15:53 +0100)]
BluetoothStatus: hide the device separator if no devices are shown

When BluetoothApplet::show-full-menu property is notified (when you
switch from a disabled adapter / no adapter to an active one), we
would show all the menu, including the device separator, without
checking if any devices actually existed.

https://bugzilla.gnome.org/show_bug.cgi?id=637690

15 years agoaltTab: fix destroy-without-showing case
Dan Winship [Thu, 6 Jan 2011 18:38:41 +0000 (13:38 -0500)]
altTab: fix destroy-without-showing case

If the switcher is destroyed without ever being fully shown (either
because it couldn't get a keyboard grab, or just because there are no
apps to display), destroy it immediately rather than tweening it
towards destruction, since its contents haven't been built yet and
_allocate() will throw errors if it runs.

15 years agoDashDND: Don't allow positioning before or after self
Adel Gadllah [Thu, 6 Jan 2011 13:19:44 +0000 (14:19 +0100)]
DashDND: Don't allow positioning before or after self

Don't allow the icon to be dropped immediately next to
itself.

https://bugzilla.gnome.org/show_bug.cgi?id=637104

15 years agoOverview: Change tab title style to match mockups
Adel Gadllah [Thu, 6 Jan 2011 11:15:07 +0000 (12:15 +0100)]
Overview: Change tab title style to match mockups

https://bugzilla.gnome.org/show_bug.cgi?id=638815

15 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 6 Jan 2011 09:58:45 +0000 (10:58 +0100)]
Updated Spanish translation

15 years agoOverview: Update warping code to new gdk api
Adel Gadllah [Wed, 5 Jan 2011 22:34:27 +0000 (23:34 +0100)]
Overview: Update warping code to new gdk api

15 years agoChats should jump to the top of the notification queue.
Hellyna Ng [Tue, 4 Jan 2011 09:34:57 +0000 (17:34 +0800)]
Chats should jump to the top of the notification queue.

This is to ensure users get notified as soon as chats are received.
Notifications with critical urgency still have the highest priority.

https://bugzilla.gnome.org/show_bug.cgi?id=630934

15 years agoImplement cross overview drag & drop
Adel Gadllah [Wed, 5 Jan 2011 14:47:27 +0000 (15:47 +0100)]
Implement cross overview drag & drop

The gnome-panel allows the user to hover over a tasklist entry
while draging to activate a minimized or obscured window and drop onto it.

Implement a similar behaviour by allowing draging to the activities button or
the hotcorner (and thus opening the overview), which allows the user to
activate any window (even on different workspaces) as a drop target.

https://bugzilla.gnome.org/show_bug.cgi?id=601731

15 years agoAdd a facility to show the stage without grabbing
Owen W. Taylor [Wed, 5 Jan 2011 14:39:36 +0000 (15:39 +0100)]
Add a facility to show the stage without grabbing

When the user is doing a drag-and-drop, we want to temporarily show the
stage to allow them to drag to a different window. But we're not "really"
in the overview, and getting a grab would conflict with the X client doing
the drag and drop.

So add a showTemporarily()/hideTemporarily() pair of methods that show
the overview without grabbing.

This adds a lot more possibilities for asynchronous race conditions, so
rework the code to be more robust against multiple calls to show*()
and hide*(). The interpretation is now that all calls to show*() and
hide*() affect the state, but if we have conflicting calls to show and
hide we wait until the current animation is finished before correcting
to the right visual state.

https://bugzilla.gnome.org/show_bug.cgi?id=601731

15 years agognome-shell.in: Really never add empty elements to LD_LIBRARY_PATH
Vincent Untz [Wed, 5 Jan 2011 09:32:44 +0000 (10:32 +0100)]
gnome-shell.in: Really never add empty elements to LD_LIBRARY_PATH

This complements the fix from c6eb2761, to make sure that we don't use
the pre-existing $LD_LIBRARY_PATH if it's set but empty.

Both commits fix CVE-2010-4000.

https://bugzilla.gnome.org/show_bug.cgi?id=638728

15 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Tue, 4 Jan 2011 18:43:32 +0000 (19:43 +0100)]
Updated Norwegian bokmål translation

15 years agocalendar: Use AlignConstraint to center the popup
Adel Gadllah [Tue, 4 Jan 2011 16:19:05 +0000 (17:19 +0100)]
calendar: Use AlignConstraint to center the popup

This fixes warnings like:

(mutter:12238): Clutter-WARNING **: The actor 'calendarPopup' is
currently inside an allocation cycle; calling clutter_actor_queue_relayout()
is not recommended

https://bugzilla.gnome.org/show_bug.cgi?id=637829

15 years agoclock: Use settings from gsettings-desktop-schemas
Florian Müllner [Thu, 2 Dec 2010 16:28:06 +0000 (17:28 +0100)]
clock: Use settings from gsettings-desktop-schemas

A key for 12hr/24hr clock format has been added to gsettings-desktop-schemas,
so use that instead of the one from the shell clock schema.

As the setting can be controlled from the Date and Time panel of
gnome-control-center now, drop the temporary preference dialog
as well.

https://bugzilla.gnome.org/show_bug.cgi?id=633200

15 years agoBuild: stop updating timestamp of st.h when not needed
Giovanni Campagna [Sat, 1 Jan 2011 15:20:34 +0000 (16:20 +0100)]
Build: stop updating timestamp of st.h when not needed

Use the same approach as other generated headers (a temporary file,
compare to the existing, then copy), to avoid touching st.h, so
that other dependent objects are not rebuilt, if not needed.
It should speed up building when switching git branches, as often
config.status or automake are run, causing Makefiles to be recreated.

https://bugzilla.gnome.org/show_bug.cgi?id=638453

15 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sun, 2 Jan 2011 18:24:26 +0000 (20:24 +0200)]
[l10n] Updated Estonian translation

15 years agoUpdated Norwegian bokmål translation from Torstein Adolf Winterseth
Kjartan Maraas [Sun, 2 Jan 2011 18:20:31 +0000 (19:20 +0100)]
Updated Norwegian bokmål translation from Torstein Adolf Winterseth

15 years ago[l10n] Updated German translation
Christian Kirbach [Sat, 1 Jan 2011 22:21:35 +0000 (23:21 +0100)]
[l10n] Updated German translation

15 years agoUpdated Swedish translation
Daniel Nylander [Fri, 31 Dec 2010 11:58:28 +0000 (12:58 +0100)]
Updated Swedish translation

15 years agoUpdated Swedish translation
Daniel Nylander [Fri, 31 Dec 2010 11:58:02 +0000 (12:58 +0100)]
Updated Swedish translation

15 years agoRemove Gtk 2 compatibility code
Giovanni Campagna [Thu, 30 Dec 2010 00:17:26 +0000 (01:17 +0100)]
Remove Gtk 2 compatibility code

It is useless now that we require Gtk 3.

https://bugzilla.gnome.org/show_bug.cgi?id=638315

15 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Wed, 29 Dec 2010 14:29:16 +0000 (21:29 +0700)]
Updated Vietnamese translation

15 years agopo/vi.po: import from Damned Lies
Nguyễn Thái Ngọc Duy [Wed, 29 Dec 2010 14:26:17 +0000 (21:26 +0700)]
po/vi.po: import from Damned Lies

15 years agoFix error from blocking removed Gdk.Display.get_device_state.
Owen W. Taylor [Tue, 28 Dec 2010 12:48:40 +0000 (07:48 -0500)]
Fix error from blocking removed Gdk.Display.get_device_state.

Gdk.Display.get_device_state() was removed in favor of a
non-GdkModifierType returning Gdk.Device.get_position(). But block
Gdk.Device.get_state() which does return a GdkModifierType mask.

https://bugzilla.gnome.org/show_bug.cgi?id=638158

15 years agoUpdate Punjabi Translation
A S Alam [Mon, 27 Dec 2010 01:43:19 +0000 (07:13 +0530)]
Update Punjabi Translation

15 years agoUpdate Simlified Chinese translation.
Aron Xu [Sat, 25 Dec 2010 12:55:31 +0000 (12:55 +0000)]
Update Simlified Chinese translation.